<?php

function greengar_remove_following($friend_guid, $user_guid, $app) {
    $following = get_relationship_following($app, TRUE);
    $follower = get_relationship_following($app, FALSE);
    greengar_remove_entity_relationship($friend_guid, $follower, $user_guid);
    greengar_remove_entity_relationship($user_guid, $following, $friend_guid);
}

?>